package network;

import java.util.*;

class FriendTask extends TimerTask {

	SNACASD snacasd;

	String friendName;

	FriendTask(SNACASD snacasd, String friendName) {
		this.snacasd = snacasd;
		this.friendName = friendName;
	}

	public void run() {
		snacasd.search4Friend(friendName);
	}
}